package com.arvin.pojo;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Notice {
    private Integer noticeId;//公告id
    private String noticeTitle;//公告标题
    private String noticeContent;//公告内容
    private String noticeFileName;//公告名
    private String noticeFileUrl;//公告地址
    private String noticeType; // 公告类型
    private String noticeState; // 公告状态
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;//创建时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;//更新时间
}
